package com.lingshi.shopping.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

//订单状态枚举
@Getter
@AllArgsConstructor
public enum OrderStatusEnums {
    //状态：1、未付款，2、已付款，3、未发货，4、已发货，5、交易成功，6、交易关闭,7、待评价
    UNPAID("未付款", "1"),
    PAID("已付款", "2"),
    UNSHIPPED("未发货", "3"),
    SHIPPED("已发货", "4"),
    COMPLETED("交易成功", "5"),
    CLOSED("交易关闭", "6"),
    TO_BE_REVIEWED("待评价", "7");

    private String message;
    private String code;

}
